#! /bin/sh /usr/share/dpatch/dpatch-run
## 77_7766_skip_ahead_subs.dpatch by  <root@mythserver.home.rodriguez-vudoyra.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad mythtv-0.22.0-fixes22952~/libs/libmythtv/cc708window.cpp mythtv-0.22.0-fixes22952/libs/libmythtv/cc708window.cpp
--- mythtv-0.22.0-fixes22952~/libs/libmythtv/cc708window.cpp	2009-10-14 20:32:47.000000000 -0500
+++ mythtv-0.22.0-fixes22952/libs/libmythtv/cc708window.cpp	2009-12-20 14:44:59.000000000 -0600
@@ -322,7 +322,7 @@
     if (!true_row_count || !true_column_count)
         return;
 
-    if ((k708DirBottomToTop == scroll_dir) &&
+    if (text && (k708DirBottomToTop == scroll_dir) &&
         (row >= (int)true_row_count))
     {
         for (uint j = 0; j < true_row_count - 1; j++)
